#ifndef SERVERINFO_H
#define SERVERINFO_H

#include <QDialog>

namespace Ui {
class ServerInfo;
}

class ServerInfo : public QDialog
{
    Q_OBJECT
    
public:
    explicit ServerInfo(QWidget *parent = 0);
    ~ServerInfo();

public slots:
    void setServerName(const QString &name);
    void setServerPort(ushort port);
    void setPlayerNum(int num);
    
protected slots:
    void showEvent(QShowEvent *);

private:
    Ui::ServerInfo *ui;
};

#endif // SERVERINFO_H
